/*
 * @Author: 1243sd 782012816@qq.com
 * @Date: 2024-03-28 20:51:50
 * @LastEditors: 1243sd 782012816@qq.com
 * @LastEditTime: 2024-04-05 17:24:27
 * @FilePath: \frontend-ykt-admin\src\api\requestApi\member.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 学校信息
import _axios from "../axios";
const member = {
	// 新增学校
	add(data) {
		return _axios({
		  method: "post",
		  url: `api/school/add`,
		  data
		});
	},
	// 编辑学校
	edit(data) {
		return _axios({
		  method: "post",
		  url: `api/school/edit`,
		  data
		});
	},
	// 获取学校详情
	details(id) {
		return _axios({
		  method: "get",
		  url: `api/school/get?id=${id}`,
		});
	},
	// 获取学校详情
	remove(data) {
		return _axios({
		  method: "post",
		  url: `api/school/remove`,
		  data
		});
	},
}
export default member